package com.scuthnweb.action.actmodule;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.scuthnweb.domain.transfer.ActionList;
import com.scuthnweb.service.ActModule;

public class CheckAdminActAction extends ActionSupport{
	private Integer page;
	private Integer pageSize;
	
	private ActModule actModule;
	
	private ActionList result;
	
	public String execute(){
		ActionContext ctx = ActionContext.getContext();
		Integer uid = (Integer)ctx.getSession().get("user_id");
		this.result = this.actModule.checkAdminAct(uid, page, pageSize);
		return SUCCESS;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public ActModule getActModule() {
		return actModule;
	}

	public void setActModule(ActModule actModule) {
		this.actModule = actModule;
	}

	public ActionList getResult() {
		return result;
	}

	public void setResult(ActionList result) {
		this.result = result;
	}
	
}
